package com.likejian.rabbit.simple;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import com.likejian.rabbit.RabbitConfig;

@Component
@RabbitListener(queues = RabbitConfig.SPRINGBOOT_RABBIT_SIMPLE_QUEUE)
public class SimpleReceiver1 {

	@RabbitHandler
	public void porcess(String context){
		System.out.println("SimpleReceiver1=" + context);
	}
}
